package com.cy.ppj.dao.mapper.product;

import com.cy.ppj.model.domian.product.ProductTypeTag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

@Mapper
public interface ProductTypeTagMapper extends BaseMapper<ProductTypeTag> {

    void insertBatchWhenTagExist(@Param("typeId") Long typeId, @Param("tagIds") Long[] tagIds);
    
    void insertBatchByTypeIds(@Param("tagId") Long tagId, @Param("typeIds") Long[] typeIds);

}
